{include file='page_frame/header.tpl'}

{if ( !empty( $userInfo )  )}
    {include file="user_search/user_info.tpl"}
{else}
    {if ( isset( $smarty.get.id ) )}
        {include file="page_frame/error_msg.tpl"}
    {/if}
    {include file="forms/search_form.tpl"}
{/if}
    
{include file='page_frame/footer.tpl'}